class image_src;

typedef void (*ImageFilter)(image_src *image);

class ImageFilterControl
{
	std::map<std::string,ImageFilter> base;
	unsigned int cntfilters;
public:
	ImageFilterControl();
	~ImageFilterControl();
	unsigned int AddFilter(std::string fname,ImageFilter ffunc);
	ImageFilter GetFFunc(std::string fname);
};

ImageFilterControl IMagicFilters;